package me.shiqiang.im.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "App主页所需信息")
@JsonIgnoreProperties(ignoreUnknown = true)
public class AppHomeInfoVo {
    @ApiModelProperty("uid")
    private Long id;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("经销商信息(当前用户是经销商才不是空)")
    private AppHomeDistributorInfoVo distributorInfo;


    public AppHomeInfoVo() {
    }

    public AppHomeInfoVo(Long id, String nickName, String avatar) {
        this.id = id;
        this.nickName = nickName;
        this.avatar = avatar;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public AppHomeDistributorInfoVo getDistributorInfo() {
        return distributorInfo;
    }

    public void setDistributorInfo(AppHomeDistributorInfoVo distributorInfo) {
        this.distributorInfo = distributorInfo;
    }
}
